var otherHead = new Vue({

    el: "#otherHead",

    data: {
        type:0

    },
    //提交时间方法
    methods: {
        logout:function () {
            $.get("logout", function (data, status) {
                if (status) {
                    window.location.href = "login_page";
                }
            });
            
        }



    },

    //页面加载后的初始化方法
    created: function () {
        var _this = this;



        $.post("/home/dataCache/selectDataCache", "", function (data) {
            if(data.code == 200){
                _this.type = 1
            }

        });


    }
});